import unittest
import config

from htmltestreport import HTMLTestReport

from common.init_log import init_logging

if __name__ == '__main__':
    init_logging()
    suite = unittest.defaultTestLoader.discover(config.BASE_DIR + '/scripts')
    HTMLTestReport(config.BASE_DIR + '/report/iHRM_report08.html', 'iHRM接口测试报告').run(suite)
